package abstractfactory;

import abstractfactory.classes.Bike;
import abstractfactory.classes.Car;
import abstractfactory.factory.AllFactory;
import abstractfactory.factory.AllFactoryimpl.ExFactory;

public class Test {
	public static void main(String []agrs) {
		
		AllFactory factory;
		Car car;
		Bike bike;
		factory=new ExFactory();
		car=factory.creatCar();
		bike=factory.creatBike(); 
		
		car.CarType();
		bike.BikeType();
	}

}
